IBM Books

Software User's Guide Version 3.3


The Operating/Monitoring Process (GWCON - Talk 5) and Commands

This chapter describes the GWCON process and includes the following sections:


What is GWCON?

The Gateway Console (monitoring) process, GWCON (also referred to as CGWCON), is a second-level process of the device user interface.

Using GWCON commands, you can:

The GWCON command interface is made up of levels called modes. Each mode has its own prompt. For example, the prompt for the SNMP protocol is SNMP>.

If you want to know the process and mode you are communicating with, press enter to display the prompt. Some commands in this chapter, such as the network and protocol commands, allow you to access the various modes in GWCON.


Entering and Exiting GWCON

To enter GWCON from OPCON (*), choose one of the following methods:

  1. Enter the OPCON console command:
    * console
    

  2. At the OPCON prompt, enter the status command to find the PID of GWCON. (See page *** for a sample output of the status command.)
    * status
    

    Then, enter the talk command followed by the PID number for GWCON:

    * talk 5
    

The console displays the GWCON prompt (+). If the prompt does not appear, press enter. Now you can enter GWCON commands.

To return to OPCON, enter the OPCON intercept character. (The default is Ctrl-P.)


GWCON Commands

This section contains the GWCON commands. Each command includes a description, syntax requirements, and an example. The GWCON commands are summarized in Table 16.

To use the GWCON commands, access the GWCON process by entering talk 5 and enter the GWCON commands at the (+) prompt.

Table 16. GWCON Command Summary
Command Function
? (Help) Displays all the commands available for this command level or lists the options for specific commands (if available). See "Getting Help".
Activate Enables a newly configured spare interface.
 Boot   Displays information about how the device was booted last. 
 Buffer   Displays information about packet buffers assigned to each interface. 
 Clear   Clears network statistics. 
 Configuration   Lists status of the current protocols and interfaces. 
 Disable   Takes the specified interface off line. 
 Environment   Enters the Environment system console. Displays the current temperature and issues an alert when the temperature threshold, high or low, is passed. 
 Error   Displays error counts. 
 Event   Enters the Event Logging System environment. 
 Fault   Displays information about the last system fault. 
 Feature   Provides access to console commands for independent device features outside the usual protocol and network interface console processes. 
 Interface   Displays network hardware statistics or statistics for the specified interface. 
 Log   Sets or views the logging level for events not included in the Event Logging System. 
 Memory   Displays memory, buffer, and packet data. 
 Network   Enters the console environment of the specified network. 
 Performance   Provides a snapshot of the main processor utilization statistics. 
 Protocol   Enters the command environment of the specified protocol. 
 Queue   Displays buffer statistics for a specified interface. 
 Reset   Disables the specified interface and then re-enables it using new interface, protocol and feature configuration parameters. 
 Statistics   Displays statistics for a specified interface. 
 Test   Enables a disabled interface or tests the specified interface. 
 Uptime   Displays time statistics for the device. 

Activate

Use the activate command to enable a spare interface on this device. See "Configuring Spare Interfaces" for more information.

Syntax:

activate
interface#

Boot

Use the boot command to display boot information for this device.

Syntax:

boot
 

Example 1:

boot
Booted using Ethernet, line 0 at (80740000, 4) as 128.185.227.220
Filename vl.ldc
Host 128.185.122.17, Gateway 128.185.227.15

In the first example, the device was booted using TFTP over Ethernet. The message indicates the method of booting, the line number, the CSR (Command and Status Register) address, the IP address, the filename, the host, and the gateway. The line number distinguishes one port from another on a multiport board. The CSR address (the first of the two values in parentheses) identifies which interface board slot was used to boot the device.

The IP address listed after "as" (128.185.227.220 in this example) indicates which IP address the device used as its own IP address. The Filename is the name of the file that has the load image. The IP address listed after Host is the IP address of the server where the file is stored. The Gateway, if listed, is the device that routes the requests and responses between the server and the device that is booting.

Example 2:

boot
Manual Booted using Integrated Boot Device Loadname vl.ver1

In the second example, the device was booted manually using the Integrated Boot Device (IBD). Manual indicates that the boot information was entered manually at boot time.

Buffer

Use the buffer command to display information about packet buffers assigned to each interface or range of interfaces.
Note:Each buffer on a device is the same size and is dynamically built. Buffers vary in size from one device to another.

To display information about one interface only, enter the interface or network number as part of the command. To obtain the interface number, use the GWCON configuration command.

Syntax:

buffer
[network# or range_of_network#]

To display information about multiple interfaces, specify the range_of_network# (or a combination of network# and range_of_network#). For example, specifying buffer 0 3 25-50 displays the information for nets 0, 3, and 25 through 50.

Example:

buffer
               Input  Buffers:       Buffer sizes:
Nt  Interface  Req  Alloc  Low Curr  Hdr  Wrap  Data  Trail Total   Bytes Alloc
0   TKR/0       20    20     7    0  109   92    2052    7   2260   45200
1   PPP/0       20    20     7   20  109   92    2052    7   2260   45200
2   PPP/1       10    10     4    0  108   92    2048    0   2248   22480
 

Nt
Network interface number associated with the software.

Interface
Type of interface.

Input Buffers:
 

Req
Number of receive buffers requested. This is either the device's default number of receive buffers or a valid value set with the CONFIG (Talk 6) set receive-buffers command.

Notes:

  1. If this column is 0 for an interface, then this is a virtual interface for which receive buffers are not allocated. In this case, the virtual interface uses the receive buffers of the device that it is mapped to. For example, a dial circuit interface uses the receive buffers of its base net or interface.

  2. If you specify a value on the CONFIG set receive-buffers command that is not supported by the device, then the number of buffers requested is equal to the device's default number of receive buffers.

Alloc
Number of receive buffers allocated.
Note:The number of receive buffers allocated is less than the number of receive buffers requested if there is not enough memory available to allocate the requested number of buffers.

Low
The device's low threshold for receive buffers. When the current number of receive (input) buffers for an interface is less than the interface's low threshold, the packet is eligible for flow control (dropping). See the description of the GWCON (Talk 5) queue command for more details on flow control. The low threshold is configurable using the CONFIG (Talk 6) set input-low-water command.

Curr
Current number of buffers on this device. The value will be 0 if the device is disabled. When a packet is received, if the value of Curr is below Low, then the packet is eligible for flow control. (See the queue command for conditions.)

Buffer Sizes:
 

Hdr
Sum of the maximum hardware, MAC, and data link headers.

Wrap
Allowance given for MAC, LLC, or Network layer headers due to protocol wrapping.

Data
Maximum data link layer packet size.

Trail
Sum of the largest MAC and hardware trailers.

Total
Overall size of each packet buffer.

Bytes Alloc
Amount of buffer memory for this device. This value is determined by multiplying the values of Alloc x Total.

Clear

Use the clear command to delete statistical information about one or all of the device's network interfaces. This command is useful when tracking changes in large counters. Using this command does not save space or speed up the device.

Enter the interface (or net) number as part of the command. To get the interface number, use the GWCON configuration command.

Syntax:

clear
interface# or range_of_interface#

To clear information about multiple interfaces, specify the range_of_network# (or a combination of interface# and range_of_interface#). For example, specifying clear 0 3 25-50 clears the information for nets 0, 3, and 25 through 50.

Configuration

Use the configuration command to display information about the protocols and network interfaces. The output is displayed in three sections, the first section lists the device identification, software version, boot ROM version, and the state of the auto-boot switch. The second and third sections list the protocol and interface information.

Syntax:

configuration
 

To display information about multiple interfaces, specify the range_of_network# (or a combination of network# and range_of_network#). For example, specifying configuration 0 3 25-50 displays the information for nets 0, 3, and 25 through 50.

Example:

configuration
 
Multiprotocol Routing Services
 
2210-MRS Feature 3768 V3.2 Mod 0 PTF 0 RPQ 0 MRS.E00 cc4_2a  
Boot ROM version  1.20     Watchdog timer enabled  Auto-boot enabled
Time: 15:46:12    Friday     September 20, 1996  Console baud rate: 9600
 
Num Name  Protocol
0   IP    DOD-IP
3   ARP   Address Resolution
11  SNMP  Simple Network Management Protocol
12  OSPF  Open SPF-Based Routing Protocol
23  ASRT  Adaptive Source Routing Transparent Enhanced Bridge
26  DLS   Data Link Switching
 
Num Name  Feature
2   MCF   MAC Filtering
 
3 Networks:
Net Interface  MAC/Data-Link         Hardware          State
0   TKR/0   Token-Ring/802.5         Token-Ring         Up
1   Eth/0   Ethernet/IEEE 802.3      Ethernet/802.3     Up
2   PPP/0   Point to Point           SCC Serial Line    Up

The following information is displayed for protocols:

Num
Number that is associated with the protocol.

Name
Abbreviated name of the protocol.

Protocol
Full name of the protocol.

The following information is displayed for features:

Num
Number associated with the feature.

Name
Abbreviated name of the feature.

Feature
Full name of the feature.

The following information is displayed for networks:

Net
Network number that the software assigns to the interface. Networks are numbered starting at 0. These numbers correspond to the interface numbers discussed under the CONFIG process.

Interface
Name of the interface and instance of this type of interface.

MAC/Data Link
Type of MAC/Data link configured for the interface.

Hardware
Specific kind of interface by hardware type.

State
Current state of the network interface.

Testing
Indicates that the interface is undergoing a self-test. Occurs when the device is first started, when a problem is detected on the interface, or when the test command is used.

When an interface is operational, the interface periodically sends out maintenance packets and/or checks the physical state of the port or line to ensure that the interface is still functioning correctly. If the maintenance fails, the interface is declared down and a self-test is scheduled to run in 5 seconds. If a self-test fails, the interface transitions to the down state and the interval until the next self-test is increased up to a maximum of 2 minutes. If the self-test is successful, the network is declared up.

Up
Indicates the interface is operational.

Down
Indicates that the interface is not operational and has failed a self-test. The network will periodically transition to the testing state to determine if the interface can become operational again.

Disabled
Indicates that the interface is disabled. An interface can be disabled by the following methods:

  • An interface can be configured as disabled using the CONFIG disable command. Each time the device is reinitialized, the interface's initial state will be disabled. It will remain in the disabled state until an action is taken to enable it.

  • An interface can be disabled using the GWCON disable command. This method is temporary because the interface will revert to its configured state (enabled or disabled) when the device is reinitialized.

  • The network manager can disable the interface through SNMP. This method is temporary because the interface will revert to its configured state (enabled or disabled) when the device is reinitialized.

When an interface is disabled, it remains disabled until one of the following methods is used to enable it:

  • The GWCON test command is used to start a self-test of the interface.

  • The network manager initiates a self-test of the interface through SNMP.

WAN Reroute also can change the state of a disabled interface. If an interface is configured as an alternate interface for WAN Reroute and its configured state is disabled, WAN Reroute will start a self-test of the interface when the primary interface goes down. When the primary interface is operational and stable again, WAN Reroute puts the alternate interface back to its configured state. Refer to The WAN Reroute Feature in Using and Configuring Features for more information.

Available
Indicates that the interface has been configured as a secondary WAN Restoral interface and it is available to back up the primary interface.

Not Present
Indicates that the interface's adapter is not plugged in.

Not Present is also used as the state for a null device. Spare interfaces are displayed as null devices until they are activated.

HW Mismatch
Indicates that the configured adapter type does not match the adapter type that is actually present in the slot.

Disable

Use the disable command to take a network interface off-line, making the interface unavailable. This command immediately disables the interface. You are not prompted to confirm, and no verification message displays. If you disable an interface with this command, it remains disabled until you use the GWCON test command or an OPCON restart or reload command to enable it.

Enter the interface or net number as part of the command. To obtain the interface number, use the GWCON configuration command.
Note:If the interface you are disabling is configured as an alternate WAN Reroute interface, you are asked if you want to disable any WAN Reroute primary/alternate pairings that include this alternate interface. If you answer yes, the interface is disabled and is no longer available to backup a primary interface. If you answer no, the alternate interface is disabled but WAN Reroute will attempt to bring it up if its corresponding primary interface goes down. See The WAN Reroute Feature, Using WAN Restoral, and Configuring and Monitoring WAN Restoral in the Using and Configuring Features for additional information.

Syntax:

disable
interface interface#

Environment

Note:Invoke this command only for routers with two service ports.

Displays the ENV> prompt, which has three available commands: list, reset-max-min, and exit. Type exit to return to the + prompt.

In extreme temperature conditions, the temperature chip holds the router in a reset state, preventing it from operating. To ensure correct operation of the router due to temperature conditions, the temperature chip allows the router to operate in the range -55°C to 85°C. This is not the operational range.

The temperature chip shuts off the router at 85°C (185°F) or above and does not come back on until it is 80°C (176°F) or below. Only heat affects the chip. It does not cause the router to reset on cold conditions. Minus 55°C (-67°F) is the lowest temperature the chip registers.

Syntax:

environment
 

The list command displays a status screen with the current temperature, the amount of time between successive temperature readings, the noted maximum and minimum seen since the last reset/clear, and alerts when the temperature threshold, high or low, has been passed, as well as the hysteresis value.

Example:

ENV>list
 
   Time: 14:23:12    Sunday, January 09 2011
 
   Current Ambient Temperature: 44C (111F)
 
   Recalculate temperature approx. every 60 seconds.
 
   Maximum:  48C (118F) at 11:47:32   Friday,     January 07 2011
   Minimum:  40C (104F) at 15:24:21   Saturday,   January 08 2011
   Last Max/Min Reset:     09:21:17   Thursday,   January 06 2011
 
   High Temperature Alarm Threshold:  85C (185F)
   Low Temperature Alarm Threshold:   -55C (-67F)
    (Hysteresis value: +/- 5C))

The reset-max-min command sets the value of the last recorded maximum and minimum to the current temperature. This is similar to resetting a standard high-low thermometer.

Example

reset-max-min
 
Maximum and Minimum Temperature reset to current ambient temperature: 44C (111F)

Error

Use the error command to display error statistics for the network. This command provides a group of error counters.

Syntax:

error
[network# or range_of_network#]

To display information about multiple interfaces, specify the range_of_network# (or a combination of network# and range_of_network#). For example, specifying error 0 3 25-50 displays the information for nets 0, 3, and 25 through 50.

Example:

error
 
                  Input   Input      Input      Input     Output  Output
Nt  Interface  Discards  Errors  Unk Proto  Flow Drop   Discards  Errors
0   TKR/0             0        0         0          0          0          0
1   PPP/0             0        0         0          0          0         0
2   PPP/1             0        0         0          0          0         0
 

Nt
Network interface number associated with the software.

Interface
Type of interface.

Input Discards
Number of inbound packets which were discarded even though no errors were detected to prevent their being deliverable to a higher-layer protocol. The packets may have been discarded to free buffer space.

Input Errors
Number of packets that were found to be defective at the data link.

Input Unk Proto
Number of packets received for an unknown protocol.

Input Flow Drop
Number of packets received that are flow controlled on output.

Output Discards
Number of packets that the device chose to discard rather than transmit due to flow control.

Output Errors
Number of output errors, such as attempts to send over a network that is down or over a network that went down during transmission.
Note:The sum of the discarded output packets is not the same as input flow drops over all networks. Discarded output may indicate locally originated packets.

Event

Use the event command to access the Event Logging System (ELS) console environment. This environment is used to set up temporary message filters for troubleshooting purposes. All changes made in the ELS console environment will take effect immediately, but will go away when the device is reinitialized. See "Using the Event Logging System (ELS)" for information about the Event Logging System and its commands. Use the exit command to return to the GWCON process.

Syntax:

event
 

Fault

Use the fault command to display information about the last system fault. This diagnostic information can help your service representative trace recurring system errors. Output that is generated is for use by the service representative only.

Syntax:

fault
 

Feature

Use the feature command to access console commands for specific 2210 features outside of the protocol and network interface console processes.

Enter a question mark after the feature command to obtain a listing of the features available for your software release.

To access that feature's console prompt, enter the feature command at the GWCON prompt followed by the feature number or short name. Table 7 lists available feature numbers and names.

Once you access the prompt for that feature, you can begin entering specific commands to monitor that feature. To return to the GWCON prompt, enter the exit command at the feature's console prompt.

Syntax:

feature
feature# or feature-short-name

Interface

Use the interface command to display statistical information about the network interfaces (for example, Ethernet). This command can be used without a qualifier to provide a summary of all the interfaces (shown in the following output) or with a qualifier to reveal detailed information about one specific interface.

Descriptions of detailed output for each type of interface are provided in the specific interface Monitoring chapters found in this guide. To obtain the interface number, use the GWCON configuration command.

Syntax:

interface
[interface# or range_of_interface#]

To display information about multiple interfaces, specify the range_of_network# (or a combination of interface# and range_of_interface#). For example, specifying interface 0 3 25-50 displays the information for nets 0, 3, and 25 through 50.

Example: interface

                                 Self-Test  Self-Test  Maintenance
 Nt Nt' Interface      CSR  Vec     Passed     Failed       Failed
 0  0   Eth/0        81600   5E          1          0            0
 1  1   PPP/0        81620   5D          0         31            0
 2  2   PPP/1        81640   5C          0         31            0
 
Note:The display varies depending on the device.

Nt
Global interface number.

Nt'
Reserved for dial circuit use. Interface number of the physical network interface that the dial circuit uses.

Interface
Interface name.

CSR
Command and Status Register address.

Vec
Interrupt vector.

Self-Test Passed
Number of times self-test succeeded (state of interface changes from down to up).

Self-Test Failed
Number of times self-test failed (state of interface changes from up to down).

Maintenance Failed
Number of maintenance failures.

Log

Use the log command to view or temporarily change the current logging level of messages that are not included in the Event Logging System. The command is temporary and goes away when the device is reinitialized.

To display the current logging level, do not enter an octal number as part of the command. To change the logging level, enter the octal number of the new logging level as part of the command. The default logging level is 76 (octal).
Note:To change the initial logging level (that is, the level that the device uses when it starts), use the CONFIG set logging level command. (Refer to "What is CONFIG?" for information about this command.)

Syntax:

log
[octal_#]

Memory

Use the memory command to display the current CPU memory usage in bytes, the number of buffers, and the packet sizes.

To use this command, free memory must be available. The number of free packet buffers may drop to zero, resulting in the loss of some incoming packets; however, this does not adversely affect device operations. The number of free buffers should remain constant when the device is idle. If it does not, contact your service representative.

Syntax:

memory
 

Example:

memory
Physical installed memory:        16 MB                              
Total routing (heap) memory:      12 MB                              
Routing memory in use:            13 %                               
                                                                     
                  Total  Reserve    Never     Perm     Temp     Prev 
                                    Alloc    Alloc    Alloc    Alloc 
Heap memory    12231155    26488 10687312  1438487   104924      432 
                                                                     
Number of global buffers: Total = 300, Free = 300, Fair = 77, Low = 60                                                                   
Global buff size: Data = 2048, Hdr = 17, Wrap = 72, Trail = 65, Total = 2208                                                             

Physical installed memory
The total amount of physical RAM installed in the device.

Total routing memory
The amount of memory available to the routing function, not including that allocated to the base operating system, system extensions, or options such as APPN. This is also called "heap" memory, and matches the "Total" heap memory size given in bytes shortly thereafter.

Routing memory in use
The percentage of total routing memory that is currently being used by the routing function. Heap memory currently in use is counted under the following headings Perm Alloc and Temp Alloc.

Heap memory:
Amount of memory used to dynamically allocate data structures.

Total
Total amount of space available for allocation for memory.

Reserve
Minimum amount of memory needed by the currently configured protocols and features.

Never Alloc
Memory that has never been allocated.

Perm Alloc
Memory requested permanently by device tasks.

Temp Alloc
Memory allocated temporarily to device tasks.

Prev Alloc
Memory allocated temporarily and returned.

Number of global buffers:

Total
Total number of global buffers in the system.

Free
Number of global buffers available.

Fair
Fair number of buffers for each interface. (See "Low".)

Low
The number of free buffers at which the allocation strategy changes to conserve buffers. If the value of Free is less than Low, then buffers will not be placed on any queue that has more than the Fair number of buffers in it.

Global buff size:
Global buffer size.

Data
Maximum data link packet size of any interface.

Header
Sum of the maximum hardware, MAC, and data link headers.

Wrap
Allowance given for MAC, LLC, or Network layer headers due to protocol wrapping.

Trailer
Sum of the largest MAC and hardware trailers.

Total
Overall size of each packet buffer

Network

Use the network command to enter the console environment for supported networks, such as X.25 networks. This command obtains the console prompt for the specified interface. From the prompt, you can display statistical information, such as the routing information fields for Token-Ring networks.

Syntax:

network
interface#

At the GWCON prompt (+), enter the configuration command to see the protocols and networks for which the device is configured. See "Configuration" for more information on the configuration command.

Enter interface at the + prompt for a display of the networks for which the device is configured.

Enter the GWCON network command and the number of the interface you want to monitor or change. For example:

    +network 3
    X.25>
 

In the example, the X.25> prompt is displayed. You can then view information about the X.25 interface by entering the X.25 operating commands.

After identifying the interface number of the interface you want to monitor, for interface-specific information, see the corresponding monitoring chapter in this manual for the specified network or link-layer interface. Console support is offered for the following network and link-layer interfaces:

Performance

Use the performance command at the GWCON prompt to enter the monitoring environment for performance. See "Configuring and Monitoring Performance" for more information.

Protocol

Use the protocol command to communicate with the device software that implements the network protocols installed in your device. The protocol command accesses a protocol's command environment. After you enter this command, the prompt of the specified protocol appears. From the prompt, you can enter commands that are specific to that protocol.

Syntax:

protocol
prot#

Enter the protocol number or short name as part of the command. To obtain the protocol number or short name, enter the CONFIG command environment (Config>), and then enter the list configuration command. See "Accessing the Configuration Process, CONFIG (Talk 6)" for instructions on accessing Config>. To return to GWCON, enter exit.

See the corresponding monitoring chapter in this manual or in the Protocol Configuration and Monitoring Reference for information on a specific protocol's console commands.

Queue

Use the queue command to display statistics about the length of input and output queues on the specified interfaces. Information about input and output queues provided by the queue command includes:

Syntax:

queue
interface#or range_of_interface#

To display information about multiple interfaces, specify the range_of_network# (or a combination of interface# and range_of_interface#). For example, specifying queue 0 3 25-50 displays the information for nets 0, 3, and 25 through 50.

To display information about one interface only, enter the interface or network number as part of the command. To obtain the interface number, use the GWCON configuration command.

Example:

queue
              Input Queue       Output Queue
Nt Interface  Alloc Low Curr    Fair Curr
0  Eth/0         30  10   30      30    1
1  PPP/0         24   4   24       4    0
2  FR/0          24   4   24       5    0
 

Nt
Network interface number associated with the software.

Interface
Type of interface.

Input Queue:

Alloc
Number of buffers allocated to this device.

Low
The low threshold for receive (input) buffers is used to activate flow control for this device. The low threshold is configurable using the CONFIG (Talk 6) set input-low-water command.

Curr
Current number of buffers on this device. The value will be 0 if the device is disabled.

Output Queue:

Fair
The high threshold for the interface's output queue when flow control is activated for an input device.
Note:When Bandwidth Reservation (BRS) is configured for PPP and Frame Relay interfaces, the output fair value is ignored and the queue lengths configurable with BRS are used to determine if a packet should be discarded due to flow control.

Curr
Number of packets currently waiting to be transmitted on this device. The eligibility discard depends on the global low water mark described in the memory command.

If a packet is received and the input queue current value is less than the input queue low threshold value, then the packet will be subject to flow control. For locally originated packets, a packet is subject to flow control if the number of free global buffers is less than the low threshold for global buffers. If a packet subject to flow control is to be transmitted on a device which has an output queue current value that is greater than the output queue high threshold (fair), then the packet is dropped instead of queued. When a packet is dropped due to flow control, the output discards counter is incremented and ELS event GW.036 or GW.057 is logged. If the packet was not locally originated, the input flow drop counter for the input interface is incremented. The output discards and input flow drop counters are displayed by the GWCON error command.

Due to the scheduling algorithms of the device, the dynamic numbers of Curr (particularly the Input Queue Curr) may not be fully representative of typical values during packet forwarding. The console code runs only when the input queues have been drained. Thus, Input Queue Curr will generally be nonzero only when those packets are waiting on slow transmit queues.

Reset

Use the reset command to disable the specified interface and then re-enable it using new interface, protocol and feature configuration parameters. See "Resetting Interfaces" for more information.

Syntax:

reset
interface#

Statistics

Use the statistics command to display statistical information about the network software, such as the configuration of the networks in the device.

Syntax:

statistics
interface#or range_of_interface#

To display information about multiple interfaces, specify the range_of_network# (or a combination of interface# and range_of_interface#). For example, specifying statistics 0 3 25-50 displays the information for nets 0, 3, and 25 through 50.

To display information about one interface only, enter the interface or network number as part of the command. To obtain the interface number, use the GWCON configuration command.

Example:

statistics
                Unicast  Multicast      Bytes    Packets      Bytes
 Nt Interface  Pkts Rcv   Pkts Rcv   Received      Trans      Trans
 0  Eth/0           137          1       8832       1068      65297
 1  PPP/0             0          0          0          0          0
 2  PPP/1             0          0          0          0          0
 

Nt
Network interface number associated with the software.

Interface
Type of interface.

Unicast Pkts Rcv
Number of non-multicast, non-broadcast specifically-addressed packets at the MAC layer.

Multicast Pkts Rcv
Number of multicast or broadcast packets received.

Bytes Received
Number of bytes received at this interface at the MAC layer.

Packets Trans
Number of packets of unicast, multicast, or broadcast type transmitted.

Bytes Trans
Number of bytes transmitted at the MAC layer.

Test

Use the test command to verify the state of an interface or to enable an interface that was previously disabled with the disable command. If the interface is enabled and passing traffic, the test command will remove the interface from the network and run self-diagnostic tests on the interface.

Syntax:

test
interface#
Note:For this command to work, you must enter the complete name of the command followed by the interface number.

Enter the interface or network number as part of the command. To obtain the interface number, use the GWCON configuration command. For example, when testing starts, the console displays the following message:

   Testing net 0 TKR/0...
 
 

When testing completes or fails, or when GWCON times out (after 30 seconds), the following possible messages are displayed:

   Testing net 0 Eth/0 ...successful
   Testing net 0 Eth/0 ...failed
   Testing net 0 Eth/0 ...still testing
 
 
 

Some interfaces may take more than 30 seconds before testing is done.
Note:If the interface you are testing is configured as an alternate WAN Reroute interface, you are prompted:
  • If you want to enable the interface's primary-alternate pairings if WAN Reroute is currently disabled for the alternate interface.

    If you answer yes, the same action occurs as when you enter the t 5 enable alternate-circuit WAN reroute command described in Configuring and Monitoring WAN Restoral in Using and Configuring Features.

  • If you want to test the interface.

    Normally an alternate WAN Reroute interface is disabled until it is needed to back up its corresponding primary interface. If you answer yes, a self-test is started for the interface. If you answer no, a self-test does not occur.

See The WAN Reroute Feature, Using WAN Restoral, and Configuring and Monitoring WAN Restoral in the Using and Configuring Features for additional information.

Uptime

Use the uptime command to display time statistics about the device, including the following:

Syntax:

uptime
 


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]